package com.pachong.demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author : wangyu
 * Date: 2018-03-27
 * Time: 13:33
 */
public interface CtaCGAccountService {

    /**
     * 注册用户customer(成功注册 返回data中保存custNo)
     * @param req
     * @return
     */
    ResponseDTO<String> registerCustomer(RepDto<CtaCustomerReqVoNew> req);


    /**
     * 只是开通富友账户(返回data保存subacctount) 需要用户存不存在
     * @return
     */
    ResponseDTO<String> openFYAcct(RepDto<CtaOpenFyAcctReq>  openFyAcctReq);

    /**
     * 注册用户和开通富友账户(返回custNO和subacct)
     * @param accountReqVoOnly
     * @return
     */
    ResponseDTO<CtaRegisterOpenAcctRes> registerCstmAndOpenFuAcct(RepDto<CtaAccountReqVoOnly>  accountReqVoOnly);

    /**
     * 善林财富注册
     * @param req
     * @return
     */
    ResponseDTO<RegisterSlcfResDto> registerSlcf(RepDto<SLCFRegister>  req);

    /**
     *
     * @param req
     * @return
     */
    ResponseDTO<BindSlcfRes> bindSlcf(RepDto<BingdSlDto> req);
}
